package com.longcai.mapper.homegood;

import com.longcai.entity.homegood.ClyjGoodsHomepage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 首页商品表 Mapper 接口
 * </p>
 *
 * @author LWK
 * @since 2019-03-22
 */
@Mapper
@Repository
public interface ClyjGoodsHomepageMapper extends BaseMapper<ClyjGoodsHomepage> {

    /**
     * @param map
     * @return
     */
    List<ClyjGoodsHomepage> selectall(Map map);

    /**
     * @param map
     * @return
     */
    List<ClyjGoodsHomepage> selectallgoods(Map map);

    /**
     * @param map
     * @return
     */
    List<ClyjGoodsHomepage> getgoodslist(Map map);

    /**
     * @param map
     * @return
     */
    List<ClyjGoodsHomepage> select(Map map);


    List <ClyjGoodsHomepage> selectGoodsName(String keyvalue);

}
